using System;
using System.Collections.Generic;
using System.Text;
using System.Web.UI.WebControls;

namespace Edge.Common.Web.Controls.Grid
{
    public class GridHandlers
    {
        public static void Setup(GridView grid)
        {

            FetchStateRestorer fetchStateRestorer = new FetchStateRestorer(grid);
            SortingHighlighter sortingHighlighter = new SortingHighlighter(grid);

        }

        public static void Setup(GridView grid, string sortExpression, SortDirection sortDirection)
        {
            FetchStateRestorer fetchStateRestorer = new FetchStateRestorer(grid, sortExpression, sortDirection);
            SortingHighlighter sortingHighlighter = new SortingHighlighter(grid);
        }
    }
}
